package com.jalonjia.seckill.core;

import com.jalonjia.seckill.common.feign.annotation.EnableSeckillFeignClients;
import com.jalonjia.seckill.common.job.annotation.EnableSeckillXxlJob;
import com.jalonjia.seckill.common.security.annotation.EnableSeckillResourceServer;
import com.jalonjia.seckill.common.swagger.annotation.EnableSeckillDoc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
* @author pig archetype
* <p>
* 项目启动类
*/
@EnableSeckillXxlJob
@EnableSeckillDoc
@EnableSeckillFeignClients
@EnableSeckillResourceServer
@EnableDiscoveryClient
@SpringBootApplication
public class SeckillCoreApplication {

    public static void main(String[] args) {
        SpringApplication.run(SeckillCoreApplication.class, args);
    }

}
